package demo3;
interface IA{
    void text1();
}
interface IB{
    void text2();
}
interface IC extends IA,IB{
    void text3();
}
class demo implements IC{
    @Override
    public void text1() {
        System.out.println("text1");
    }

    @Override
    public void text2() {
        System.out.println("text2");
    }

    @Override
    public void text3() {
        System.out.println("text3");
    }
}
public class Text {
    public static void main(String[] args) {

    }
}
